﻿
    @{
        ViewBag.Title = "服务管理";
        var isPjax = !string.IsNullOrEmpty(Context.Request.Headers["X-PJAX"]) && bool.Parse(Context.Request.Headers["X-PJAX"]) ;
        Layout = isPjax ? null : "_ServiceManageLayout.cshtml";
        ViewBag.Selected="ServiceSubscriber";
    }
    <div class="page-header">
        <h1>
            服务管理
            <small>
                <i class="icon-double-angle-right"></i>
                关联服务管理
            </small>
        </h1>
        <div class="ace-settings-container">
            <a href="@Context.Request.Headers["Referer"]" class="btn btn-app btn-xs btn-warning ace-settings-btn" data-pjax=".page-content">
                <i class="icon-back bigger-150"></i>
            </a>
        </div>
    </div>
    <div class="row">
        <div class="col-xs-12">
            <div id="sample-table-2_wrapper" class="dataTables_wrapper" role="grid">
                <div class="row">
                    <div class="col-sm-6">

                        关键字：<input type="text" name="queryParam" value="@ViewBag.ServiceId" id="queryParam" placeholder="机器名\服务Id">
                        <button id="btnSearch" class="btn btn-primary">搜&#12288;索</button>
                    </div>
                </div>
                <div>
                    <table id="dataSubscriber" class="table table-striped table-bordered table-hover dataTable">
                        <thead>
                            <tr role="row">
                                <th style="width: 6%"></th>
                                <th class="center" width="12%">机器名</th>
                                <th class="center" width="12%">状态</th>
                                <th class="center" width="12%">检查</th>
                                <th class="center">操作</th>
                            </tr>
                        </thead>
                        <tbody id=""></tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    @if (!isPjax)
{
        @section SubFootJS
        {
            <script type="text/javascript">
    seajs.use("apps_servicemange/view/servicesubscriber.guide.js", function(a) {
            a.init({
            });
        });
            </script>
        }
}
else
{
        <script type="text/javascript">
        seajs.use("apps_servicemange/view/servicesubscriber.guide.js", function (a) {
            a.init({
            });
        });
        </script>
}
